home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Games of Daze
/
Infomagic - Games of Daze (Summer 1995) (Disc 1 of 2).iso
/
x2ftp
/
msdos
/
source
/
zendisk1
/
lst8-7.asm
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Assembly Source File
|
1990-02-15
|
310 b
|
19 lines
;
; *** Listing 8-7 ***
;
; Initializes a variable to 0 via a register-register SUB,
; followed by the accumulator-specific form of MOV to a
; direct-addressed operand.
;
jmp Skip
;
InitialValue dw ?
;
Skip:
call ZTimerOn
rept 1000
sub ax,ax
mov [InitialValue],ax
endm
call ZTimerOff